package com.jic.manager.mapper;

import com.jic.manager.entity.CmsRefPagetypes;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 对象关联的页面类型
 * @author : 
 * @email : 
 * @since : 2020-03-05 12:01:06
 * @version : v1.0.0
 */
@Mapper
public interface  CmsRefPagetypesMapper {

    long insert(CmsRefPagetypes cmsRefPagetypes);

    long delete(Long id);

    long update(CmsRefPagetypes cmsRefPagetypes);

    CmsRefPagetypes queryByPrimaryKey(Long id);

    List<CmsRefPagetypes> query(CmsRefPagetypes cmsRefPagetypes);

    List<CmsRefPagetypes> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("cmsRefPagetypes") CmsRefPagetypes cmsRefPagetypes);

    long queryPageCount(CmsRefPagetypes cmsRefPagetypes);
}